package com.woniuxy.community_life.service;

import com.woniuxy.community_life.dto.CommentDto;
import com.woniuxy.community_life.dto.DynamicDto;
import com.woniuxy.community_life.pojo.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface DynamicService {
    void addActiveDynamics(Dynamic dynamic, String filePath, MultipartFile[] imageFile);

    DynamicDto selectDynamic(Integer tRemitid);

    List<DynamicImage> selectImages(Integer dId);

    Account selectAccountNickName(Integer aId);

    CommentDto selectAllMessage(Integer dId);

    void addReplyComment(Comment comment);

    void removeComment(Integer comId, Integer aId);

    void addClickCount(Integer dId, Integer aId);
}
